package com.jazz.annotation;

@Debug
@Persion("zhangzhijia")
public class AnnotationTest {
	public static void main(String[] args) {
		if (AnnotationTest.class.isAnnotationPresent(Debug.class)) {
			System.out.println(AnnotationTest.class.getAnnotation(Debug.class));
		}
		if (AnnotationTest.class.isAnnotationPresent(Persion.class)) {
			Persion name = AnnotationTest.class.getAnnotation(Persion.class);
			System.out.println(name.value());
		}
	}
}
